﻿<%@ Page Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="CreateMessage.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.CreateMessage" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        
        .style6
        {
        }
        
        .style7
        {
            width: 81px;
        }
        
    </style>
    
     <script language="javascript" type="text/javascript">

        window.onload = function() {

            var msg = document.getElementById('ctl00_MasterMsg');
            if (msg && msg.innerHTML != '')
                showMessageBlock();
        }
        </script>
    
    </asp:Content>
    
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <table class="detailstable">
    
    <tr>
        <td >
            From:</td>
        <td  >
            <asp:DropDownList ID="ddlFrom" runat="server" AutoPostBack="True" CssClass="ddl"
                onselectedindexchanged="ddlFrom_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td  >
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style6">
            Broadcast:</td>
        <td  >
            <asp:CheckBox ID="chkBroadcast" runat="server" AutoPostBack="True" CssClass="chbox"
                oncheckedchanged="chkBroadcast_CheckedChanged" />
        </td>
        <td  >
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style6">
            Branch*:</td>
        <td  >
            <asp:DropDownList ID="ddlBranch" runat="server" AutoPostBack="True" CssClass="ddl"
                onselectedindexchanged="ddlBranch_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td  >
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style6">
            Unit:</td>
        <td  >
            <asp:DropDownList ID="ddlUnit" runat="server" AutoPostBack="True" CssClass="ddl"
                onselectedindexchanged="ddlUnit_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td  >
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style6">
            SO Code:</td>
        <td  >
            <asp:DropDownList ID="ddlSOCode" runat="server" AutoPostBack="True" CssClass="ddl"
                onselectedindexchanged="ddlSOCode_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td  >
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style6">
            Message</td>
        <td  >
            <asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" CssClass="txtarea"></asp:TextBox>
        </td>
        <td  >
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtMessage" Display="Dynamic" 
                ErrorMessage="" text="*"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td colspan="2" class="pix8">
            
        </td>
        <td  >
          </td>
    </tr>
    <tr>
        <td class="style6" colspan="3">
            <table cellpadding="0" cellspacing="0" class="style1">
                <tr>
                    <td class="style7">
            <asp:Button ID="btnCreate" runat="server" Text="Send" CssClass="btn"
                style="width: 76px " onclick="btnCreate_Click" onclientclick="validationSummery();" 
                            Visible="False" />
                    </td>
                    <td>
            <asp:Button ID="btnCancel" runat="server" Text="Cancel" style="height: 23px" CssClass="btn"
                Width="76px" onclick="btnCancel_Click" CausesValidation="False" />
                    </td>
                </tr>
            </table>
                    </td>
    </tr>
</table>
 </asp:Content>
